/*
** cmd_monitor2.c for zappy in /home/Smaxo/Travail/zappy-2015-2014s-renard_g/serv-src
**
** Made by maximilien addari
** Login   <addari_m@epitech.net>
**
** Started on  Fri Jun 22 16:20:37 2012 maximilien addari
** Last update Tue Jul 10 14:41:24 2012 pierrick druart
*/

#include		<unistd.h>
#include		<stdlib.h>
#include		<stdio.h>
#include		<string.h>

#include		"server.h"

void			ppo(t_client *client, t_game *game, char *cmd)
{
  char			*token;
  int			n;

  (void)cmd;
  token = strtok(cmd, " ");
  token = strtok(cmd, "\n");
  n = atoi(token);
  client->send->concat(client->send, "bct ");
  client->send->concat_value(client->send, X);
  client->send->concat(client->send, " ");
  client->send->concat_value(client->send, Y);
  client->send->concat(client->send, " ");
}
